feat: 근로자 모바일 응답을 공식 서류와 업무 상태에 연계 - #141
Merged
Merged
Conversation
링크 발급 시 업무를 근로자 응답 대기로 전환하고, HR이 제출 파일을 확인한 뒤 공식 근로자 서류로 채택할 수 있도록 구현했습니다. 개인정보 원문은 자동으로 수정하지 않으며 검증 전 서류는 SUBMITTED 상태로 보관합니다.
링크 발급부터 파일 제출, HR 채택, 업무 재개까지의 왕복 흐름과 타 사업장 접근 차단 및 반복 요청 멱등성을 검증합니다.
BcKmini
approved these changes
Aug 12, 2026
BcKmini
left a comment
Member
There was a problem hiding this comment.
확인했습니다. client#324(https://github.com/fowoco/client/pull/324)와 짝이 맞고, 채택 멱등성·타 사업장 차단·Task 상태 전이 흐름 다 검증돼 있네요. CI(561 tests) 통과 확인했습니다.
Member
|
고생하셨어요 현준님 @hywznn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
근로자가 모바일 링크에서 응답하거나 서류를 제출한 뒤 HR Case 화면으로 회수되는 기능은 있었지만, 제출 파일을 공식 근로자 서류로 등록하고 다음 업무 단계를 재개하는 연결이 없었습니다.
무엇이 바뀌나요?
APPROVED → WAITING_WORKER로 전환하고 이력을 기록합니다.POST /api/v1/tasks/{taskId}/worker-responses/{responseId}/documents/adopt를 추가합니다.worker_document에SUBMITTED상태로 등록합니다.WAITING_WORKER → APPROVED로 되돌려 다음 업무를 진행할 수 있게 합니다.안전 기준
SUBMITTED를VERIFIED로 간주하거나 검증 체크리스트를 자동 완료하지 않습니다.Client 영향
Client는 근로자 응답의
uploads필드를 표시하고 공식 서류 채택 API를 호출할 수 있습니다.검증
./gradlew clean test